package com.breeze.components.task.lock;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.util.Date;
import lombok.Data;

/**
 * 分布式锁实体类
 *
 * @author breeze
 */
@Data
@Table("distributedLock")
public class DistributedLockDO {

  @Id(keyType = KeyType.Auto)
  private Long id;

  private String lockKey;

  private String methodName;

  private String scheduleType;

  private String scheduleConf;

  private Date triggerNextTime;
}
